package com.eh.model;

import lombok.Data;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by David Li on 2016/7/11.
 */
@Data
public class Account {
    private String merchantName;
    private String username;
    private String idNo;
    private String mobileNo;
    private String orderNo;
    private String requestDate;
    private BigDecimal orderAmount;
    private BigDecimal shouldRepayAmount;

    @Override
    public String toString() {
        try {
            return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
        } catch (Exception e) {
            return super.toString();
        }
    }

}
